-
Notifications
You must be signed in to change notification settings - Fork 170
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Adding PPN photolysis #2371
Adding PPN photolysis #2371
Conversation
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Thanks @bexhorner for this update. I have a couple of comments:
-
Can you remove the
.DS_Store
file? This is a binary file, and we try to avoid adding those to Git repos. See this link for more info on how to delete a file from a PR: https://stackoverflow.com/questions/9498201/delete-file-from-pull-request-on-github/9498304#9498304 -
Would you be able add a note to the
KPP/fullchem/CHANGELOG_fullchem.md
about this update? -
Can you add the same updates in
KPP/fullchem/fullchem.eqn
toKPP/custom/custom.eqn
? We try to keep these synchronized.
Thanks!
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Thanks @bexhorner! We can try to get this into 14.5.0.
According to geoschem/Cloud-J#21, this update will also require updates to input files @bexhorner, could you post the |
@@ -31,7 +31,7 @@ MODULE CMN_FJX_MOD | |||
! Parameters | |||
!----------------------------------------------------------------------- | |||
|
|||
INTEGER, PARAMETER :: JVN_ = 166 ! Max number of J-values | |||
INTEGER, PARAMETER :: JVN_ = 167 ! Max number of J-values |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
This will only apply when running with FAST-JX, which is non-default except for the mercury simulation. Currently the max number of J-values is hard-coded in Cloud-J. Restructuring the memory is on the todo list so that we can instead pass it from the parent model.
Could you confirm that your tests used FAST-JX rather than Cloud-J? If using Cloud-J then this line needs to change: https://github.com/geoschem/Cloud-J/blob/03313bb6acde16a9962c3a5e18a3f78b4d220faa/src/Core/cldj_cmn_mod.F90#L47
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
This update is no longer needed because of a feature I added to Cloud-J where JVN_ is truly the max # of J-values rather than the exact number of entries in FJX_j2j.dat. I updated the value of 200 to be above what we actually need. geoschem/Cloud-J#26
yeah, @lizziel, changes were made with FAST-JX, so our updates will be missing changes specific to CLOUD-J. |
Okay, so the input files provided were not used for testing. They appear to be modifications of the Cloud-J tables files which do not include all GEOS-Chem species. We can look at the changes only and create Cloud-J input files that would work. |
@lizziel so the changes were made using FAST-JX and tested using the files below. The files I sent previously were applying the modifications used here to the Cloud-J tables. |
After rebasing on top of PR #2428, all GCHP integration tests pass: ==============================================================================
GCHP: Execution Test Results
CodeDir : da8ea12 GEOS-Chem submod update: Merge PR #2428 (vdiff) and PR #2144 (drydep)
MAPL : 231d53c Merge pull request #36 from geoschem/feature/improve_hflux_regridding
GMAO_Shared : 4ddb3ec Merge pull request #2 from geoschem/feature/mapl-upgrade
ESMA_cmake : ad5deba Added ecbuild as a submodule of ESMA_cmake
gFTL-shared : 4b82492 Merge branch 'upstream_v1.5.0' into feature/v1.5.0
FMS : 259759d Merge pull request #3 from geoschem/feature/update_gmao_libs
FVdycoreCubed : af42462 Merge PR #8 (Add PLEadv diagnostic for offline advection in GCHP)
geos-chem : 99f1cf9c9 Rebuild chemical mechanism for PPN photolysis w/ KPP 3.1.1
HEMCO : d0d5fca PR #285 post-merge fix: Update CHANGELOG.md
yaFyaml : 19afe50 Merge branch 'upstream_v1.0.4' into feature/v1.0.4
pFlogger : 2c4b724 Merge branch 'upstream_v1.9.1' into feature/v1.9.1
Cloud-J : d20050f Update version to 7.7.3
HETP : 2a99b24 Merge pull request #2 from geoschem/bugfix/initialize_local_variables
Number of execution tests: 12
Submitted as SLURM job: 45330505
==============================================================================
%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
%%% All execution tests passed! %%%
%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%% |
All GEOS-Chem Classic tests also passed: ==============================================================================
GEOS-Chem Classic: Execution Test Results
CodeDir : 153a355 GEOS-Chem submod update: Merge PR #2428 (vdiff) and PR #2144 (drydep)
GEOS-Chem : 99f1cf9c9 Rebuild chemical mechanism for PPN photolysis w/ KPP 3.1.1
HEMCO : d0d5fca PR #285 post-merge fix: Update CHANGELOG.md
Cloud-J : d20050f Update version to 7.7.3
HETP : 2a99b24 Merge pull request #2 from geoschem/bugfix/initialize_local_variables
Using 24 OpenMP threads
Number of execution tests: 30
Submitted as SLURM job: 45327972
==============================================================================
%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
%%% All execution tests passed! %%%
%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%% |
This PR was integration-tested with PR #2436 and PR #2439. All GEOS-Chem Classic integration tests passed: ==============================================================================
GEOS-Chem Classic: Execution Test Results
CodeDir : 153a355 GEOS-Chem submod update: Merge PR #2428 (vdiff) and PR #2144 (drydep)
GEOS-Chem : d34c567a4 Merge PR #2436 (Update GFED4 climatology for 2010-2023)
HEMCO : d0d5fca PR #285 post-merge fix: Update CHANGELOG.md
Cloud-J : d20050f Update version to 7.7.3
HETP : 2a99b24 Merge pull request #2 from geoschem/bugfix/initialize_local_variables
Using 24 OpenMP threads
Number of execution tests: 30
Submitted as SLURM job: 45504789
==============================================================================
%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
%%% All execution tests passed! %%%
%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%% |
This PR was integration-tested with PR #2436 and PR #2439. All GCHP integration tests passed: ==============================================================================
GCHP: Execution Test Results
CodeDir : da8ea12 GEOS-Chem submod update: Merge PR #2428 (vdiff) and PR #2144 (drydep)
MAPL : 231d53c Merge pull request #36 from geoschem/feature/improve_hflux_regridding
GMAO_Shared : 4ddb3ec Merge pull request #2 from geoschem/feature/mapl-upgrade
ESMA_cmake : ad5deba Added ecbuild as a submodule of ESMA_cmake
gFTL-shared : 4b82492 Merge branch 'upstream_v1.5.0' into feature/v1.5.0
FMS : 259759d Merge pull request #3 from geoschem/feature/update_gmao_libs
FVdycoreCubed : af42462 Merge PR #8 (Add PLEadv diagnostic for offline advection in GCHP)
geos-chem : d34c567a4 Merge PR #2436 (Update GFED4 climatology for 2010-2023)
HEMCO : d0d5fca PR #285 post-merge fix: Update CHANGELOG.md
yaFyaml : 19afe50 Merge branch 'upstream_v1.0.4' into feature/v1.0.4
pFlogger : 2c4b724 Merge branch 'upstream_v1.9.1' into feature/v1.9.1
Cloud-J : d20050f Update version to 7.7.3
HETP : 2a99b24 Merge pull request #2 from geoschem/bugfix/initialize_local_variables
Number of execution tests: 12
Submitted as SLURM job: 45515705
==============================================================================
%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
%%% All execution tests passed! %%%
%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%% |
This merge brings PR #2371 (Adding PPN photolysis, by @bexhorner) into the GEOS-Chem 14.5.0 development stream. This PR adds photolysis rxns for the PPN species. Signed-off-by: Bob Yantosca <[email protected]>
run/shared/species_database.yml - Add "Is_Photolysis: true" YAML tag for PPN. We had omitted this from PR #2371. CHANGELOG.md - Updated accordingly. Signed-off-by: Bob Yantosca <[email protected]>
@bexhorner @eamarais: Due to an oversight, we didn't properly update the |
We can now close this PR as it has been merged into the GEOS-Chem 14.5.0 development stream. |
Name and Institution (Required)
Name: Bex Horner, @eamarais
Institution: University College London (UCL)
Describe the update
This update adds the PPN photolysis reaction to KPP as outlined in Horner et al. (2024).
PAN + OH and PPN + OH reactions are added using the structure-activity relationship approach.
The maximum number of J-values is increased to account for PPN photolysis.
Expected changes
NO2 concentrations will increase in the upper troposphere by ~30-60 pptv where PPN is abundant and thermally stable.
Reference(s)
Horner et al. 2024. "Vertical profiles of global tropospheric nitrogen dioxide (NO2) obtained via cloud-slicing" (https://doi.org/10.5194/egusphere-2024-1541)